package com.hps.zipkinconsumer.service.client;

import com.hps.zipkinconsumer.entity.User;
import org.springframework.cloud.netflix.ribbon.RibbonClient;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author heps
 * @date 2019/1/8 9:42
 */
@FeignClient(name = "producer-service")
//@RibbonClient(name = "producer-service")
public interface UserClient {

    @GetMapping("/users")
    User find();
}
